<?php 	
	$servidor = "localhost";
	$usuario= "root";
	$clave= "casa";
	$database = "medica";
	$conexion = mysql_connect($servidor,$usuario,$clave) or die("Error Conexion");	
		
	mysql_select_db($database,$conexion);
	$idqueryx=mysql_query("SET NAMES UTF8");
	
$bd_host = "localhost"; 
$bd_usuario = "root"; 
$bd_password = "casa"; 
$bd_base = "medica"; 
$con = mysql_connect($bd_host, $bd_usuario, $bd_password); 
mysql_select_db($bd_base, $con); 
	
?>